package de.fzi.fhemapi.view.vaadin.ui.devicepanels;

import java.util.LinkedList;
import java.util.List;

import de.fzi.fhemapi.model.devicetypes.Device;
import de.fzi.fhemapi.view.vaadin.ui.DeviceDetailsPanel;
import de.fzi.fhemapi.view.vaadin.ui.model.DeviceDetailEntry;

/**
 * Default implementation of the device details class.
 * @author Can
 *
 */
public class DeviceDetailsImpl extends DeviceDetailsAbst{
	
	/**
	 * a default constructor
	 * @param device the device to show the details from
	 * @param parent the parent panel.
	 */
	public DeviceDetailsImpl(Device device, DeviceDetailsPanel parent) {
		super(device, parent);
	}
	
	/**
	 * always returns true.
	 */
	public boolean matchesDevice(){
		return true;
	}

	@Override
	public List<DeviceDetailEntry> getDeviceDetails() {
		return new LinkedList<DeviceDetailEntry>();
	}
	
	
}
